<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
	
    
    <style type="text/css">
		.dp{
			text-align:center; margin:30px 0 20px 0;
		}
	</style>
    <form action="?module=taobao&action=insert" method="post" class="dp">
        <input type="text" name="url" onBlur="if(this.value==''){this.value='请输入想要点评的淘宝网宝贝的链接地址'}" onClick="if(this.value=='请输入想要点评的淘宝网宝贝的链接地址'){this.value=''}" value="请输入想要点评的淘宝网宝贝的链接地址" size="50" />
        <input name="submit" type="submit" value="点评" />
    </form>

    
     
	 <style type="text/css">
	 	.goods {
			border:1px solid #D8D8D8; height:auto; overflow:hidden;
		}
	 	.goods .tit{
			background:#F6F6F6; margin-top:0;
		}
        .goods li{
            width:160px; height:280px; float:left; display:inline; overflow:hidden; margin:0 25px 10px 0; text-align:center;
        }
		.goods li p{
			margin:0px; line-height:22px;
		}
        .goods li em{
            color:#E65C73; font-weight:bold; font-size:13px; margin:0 5px;
        }
        .goods li .thumb{
            border:#eee solid 1px; padding:4px;
        }
     </style>
    <div class="goods">
     	<div class="head"><span>淘宝分享</span><a href="{url("?module=taobao&action=insert")}">我要分享</a></div>
         <ul>
          {get sql="select * from table_taobao where status=99 order by updatetime desc" rows="20" page="$page"}
           {php $r[thumb] = $r[thumb] ? $r[thumb] : 'misc/nopic.gif'}
            <li>
                <p class="thumb"><a href="{url("?module=taobao&id=$r[taobaoid]")}"><img src="{thumb($r[thumb],150,150)}"/></a></p>
                <p><a href="{url("?module=taobao&id=$r[taobaoid]")}" target="{$target}">{str_cut($r[title], 45)}</a></p>
                <p>￥<em>{$r[price]}</em></p>
                <p>最近30天售出<em>2213</em>笔</p>
                </li>
    
          {/get}
        </ul>
    </div>
    
    <div class="pagination">{$pages}</div>
     
    
</div>


{template 'footer.html'}
